Skip to main content

Upload Attachment

Description

Ivanti Service Manager: Upload Attachment uploads one or more attachments to a business object record in Ivanti Service Manager.

References:

  • Documentation for creating an API Key: https://help.ivanti.com/ht/help/en_US/ISM/2021/admin/Content/Configure/API/Using-REST-API-Key.htm
  • API documentation: https://help.ivanti.com/ht/help/en_US/ISM/2021/admin/Content/Configure/API/Upload-Attachments.htm

Configurations

No.Field NameDescription
1Step nameName of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
Connection
2Tenant URLTenant URL of Ivanti Service Manager instance.
The data type is String. This field is mandatory.
3API KeySpecify or select API Key generated for the tenant.
If checkbox above is enabled API Key field appears as Text box and accepts static values or variables. Else if checkbox above is disabled API Key field appears as a drop down containing values from previous steps to select from.
The data type is String. This field is mandatory.
Input Fields
1Business ObjectSpecify the internal name of the Business Object to which file is to be attached.The data type is String. This field is mandatory.
Note: Locate the internal name using the following steps:
i. Click on Settings icon at the right uppermost corner.
ii. Select Business Objects under Build option.
iii. In the Find box, type the display name of the Business Object and you can see the internal name enclosed in the bracket just under Display Name.
2Rec IDSelect Rec ID of the record to which the attachment is to be uploaded.
The data type is String. This field is mandatory.
Button: GetClick to get Rec IDs associated with the business object.
Note: This button will not work for the previous step variables. The button will only work with static values and environment variables.
3FileSelect path of the file to be attached to the business object record.
The data type is String. This field is mandatory.
Note: Multiple file paths can be provided in this field, separated by comma. For example, D:\test.txt, D:\test1.txt.
4Browse…Click to browse the file to be attached to the business object record.